package com.leaf.user.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "CLIENT-ORDER", fallback = OrderServiceFallBack.class)
public interface OrderServiceClient {

	@RequestMapping("getOrder")
	public String getOrder(@RequestParam("name") String name);

}
